//
//  AZBaseModel.m
//  AZNetwork
//
//  Created by GorXion on 2018/4/2.
//  Copyright © 2018年 gaoX. All rights reserved.
//

#import "AZBaseModel.h"
#import <YYModel/YYModel.h>

@interface AZBaseModel () <NSCoding, NSCopying>

@end

@implementation AZBaseModel

- (void)encodeWithCoder:(nonnull NSCoder *)aCoder {
    return [self yy_modelEncodeWithCoder:aCoder];
}

- (nullable instancetype)initWithCoder:(nonnull NSCoder *)aDecoder {
    self = [super init];
    return [self yy_modelInitWithCoder:aDecoder];
}

- (nonnull id)copyWithZone:(nullable NSZone *)zone {
    return [self yy_modelCopy];
}

@end
